//    Copyright (C) Kherty.  All rights reserved.
using OpenLS.Core;

namespace OpenLS.Spreadsheet
{
    class TableAddedUndoUnit : TableUndoUnit
    {

        public TableAddedUndoUnit(Worksheet worksheet, Table table): base(worksheet, table)
        {
        }

        public override void Do()
        {
            worksheet.RemoveTable(table);
        }

    }
}
